var cText = '';
cText += '<div id="fb-root"></div>';
cText += '<script>(function(d, s, id) {';
  cText += 'var js, fjs = d.getElementsByTagName(s)[0];';
  cText += 'if (d.getElementById(id)) {return;}';
  cText += 'js = d.createElement(s); js.id = id;';
  cText += 'js.src = "http://connect.facebook.net/es_LA/all.js#xfbml=1";';
  cText += 'fjs.parentNode.insertBefore(js, fjs);';
cText += '}(document, "script", "facebook-jssdk"));</script>';
document.write(cText);